package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.InInstanceDao;
import com.meizi.lushi.entity.InInstanceEntity;
import com.meizi.lushi.service.InInstanceService;


@Service("inInstanceService")
public class InInstanceServiceImpl extends ServiceImpl<InInstanceDao, InInstanceEntity> implements InInstanceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InInstanceEntity> page = this.page(
                new Query<InInstanceEntity>().getPage(params),
                new QueryWrapper<InInstanceEntity>()
        );

        return new PageUtils(page);
    }

}